package com.framework.buss.ai.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 首页
 * @author zhangzhg
 */
@Controller
@RequestMapping(value = "/")
@Api(tags = "首页", hidden = true)
public class IndexController {
	/**
	 * 跳转到主页
	 */
	@GetMapping
	@ApiOperation(value = "首页", hidden = true)
	public String index() {
		String mainUrl = "/doc.html";
		return "forward:" + mainUrl;
	}
}